

def write_file():
    with open(r"99.test",mode="w") as file :

        for i in range(0,10):
            for j in range(1,i+1):
                file.write(str(i)+"*"+str(j)+"="+str(i * j)+"\t" )
            file.write("\n")

write_file()
